
<?php
header ( "Content-type:text/html;charset=utf-8" );
 $url='https://wyxtool.rth1.me/k.json';
$json_string = file_get_contents($url);
$dataxxx = json_decode($json_string, true);
$json_string1 = file_get_contents('../service.json');
$dataxxx1 = json_decode($json_string1, true);
$x1=strval($dataxxx[1]);
$x2=strval($dataxxx1[1]);
if($x1>$x2){
echo "<font>有更新！</font><br><br><font>最新版本:".$dataxxx[1]."</font><br><br><font>下载地址：".$dataxxx[2]."</font>";
}else{
echo "<font>没有更新！</font><br><br>";
}
?>
